package us.kg.kotoriforest.spring.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 组件的字段上添加该注解，会自动为该字段赋值UUID
 *
 * @author Kotori rotroutine@163.com
 * @since 2025/1/26
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface UUID {
    /**
     * 是否包含分隔符
     */
    boolean containsDelimiter() default true;
}
